const connect = require('connect');
const serveStatic = require('serve-static');
const path = require('path');

const root = path.join(__dirname, 'public');

const app = connect().use(serveStatic(root));
app.listen(3000);
